package com.seqb.common;

import lombok.Data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author lilinshen
 * @title 分页DO
 * @description 请填写相关描述
 * @date 2019/11/12
 */
@Data
public class PageDO<T> {

    private Integer offset;
    private Integer limit;
    private Integer total;
    private Map<String, Object> params;
    private String param;
    private List<T> rows;

    public PageDO() {
        super();
        this.offset = 0;
        this.limit = 10;
        this.total = 1;
        this.params = new HashMap<>();
        this.param = "";
        this.rows = new ArrayList<>();
    }
}
